<!-- 主题设置模板 -->


<div id="app">

</div>



<script>
  //若需用到 layui 组件，layui.use 需写在该全局方法里面，如：
  layui.use(['admin', 'identityApi', 'view'], function () {

    var admin = layui.admin;
    var identityApi = layui.identityApi;
    var gameId = layui.router().search.id;
    var view = layui.view;

    var myApp = new Vue({
      el: '#app',
      data: function () {
        return {
          gameId: gameId, // 假设这是从某处获取的游戏ID  
          count: 0,
          dataList: []
        }
      }
      , methods: {

        getData() {

        },

      },
      mounted: function () {
        // this.getData();


      },
      created: function () {
        //	this.getData();
      },


    });

  });

</script>